package com.example.projectcode.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.projectcode.model.Student;
import com.example.projectcode.model.Subject;

import java.util.List;

public interface SubjectService extends IService<Subject> {
    List<Subject> selectAllSubject();

    Subject selectSubjectBySubId(Integer subid);

    int insertSubject(String subjectName);

    int deleteSubjectById(Integer subjectId);

    Subject selectSubjectBySubName(String subjectName);
}
